package com.teaRestaurant.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.teaRestaurant.domain.DTO.CategoryPageQueryDTO;
import com.teaRestaurant.domain.entity.Category;

import java.util.List;

public interface CategoryService {
    IPage<Category> list(CategoryPageQueryDTO categoryPageQueryDTO);

    void insert(Category category);

    void delete(List<Long> ids2);

    void updateStatus(Long id);

    List<Category> allList(Integer type);
}
